﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XingLucifer.IBase.Enums;

namespace UIWindows.Attributes
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
    public class TaskContextAttribute : Attribute
    {
        /// <summary>
        /// 任务名
        /// </summary>
        public TaskTypes TaskType { get; set; }
        public TaskContextAttribute(TaskTypes taskType)
        {
            TaskType = taskType;
        }
    }
}
